package com.niit;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author： 曾渝晋
 * @date: 2021/6/16 2:00 上午
 * @description:
 * @modified:
 * @Version: 1.0
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker // 添加对熔断的支持
@EnableSwagger2Doc // 开启swagger2注解
@ComponentScan("com.niit")
public class AdminProviderApplication9021 {
    public static void main(String[] args) {

        SpringApplication.run(AdminProviderApplication9021.class,args);
    }
}
